package com.awanp3.nimbus.remote.strategy.impl;

import com.awanp3.nimbus.remote.api.domain.RemoteWmsPoInfo;
import com.awanp3.nimbus.remote.api.model.FetchOrderParam;
import com.awanp3.nimbus.remote.api.model.PostOrderParam;
import com.awanp3.nimbus.remote.api.model.PostOrderResult;
import com.awanp3.nimbus.remote.strategy.WmsPoInfoStrategy;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 采购订单相关
 *
 * @author 20014170
 */
@Slf4j
@Component("65D0PoInfo")
public class IndonesiaPoInfoStrategyImpl implements WmsPoInfoStrategy {

    /**
     * 下载订单
     *
     * @param param 参数
     * @return List<RemoteWmsPoInfo>
     */
    @Override
    public List<RemoteWmsPoInfo> fetch(FetchOrderParam param) {
        log.info("ID Download Po.................");
        return List.of();
    }

    /**
     * 过账
     *
     * @param param 过账参数
     * @return PostOrderResult
     */
    @Override
    public PostOrderResult post(PostOrderParam param) {
        log.info("ID Post Po.................");
        return new PostOrderResult();
    }
}
